class AppResponseEntity {
  int? code;
  dynamic data;
  String? message;

  AppResponseEntity({this.code, required this.data, this.message});

  AppResponseEntity.error(String error) {
    code = -1;
    data = error;
    message = '';
  }

  AppResponseEntity.fromJson(Map<String, dynamic> json) {
    code = json['code'];
    data = json['data'];
    message = json['message'];
  }
}
